<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <p>html 视频解决方法</p>
    <video width="320" height="240" controls="controls">
        <source src="E:/Videos/test.mp4" type="video/mp4" />
        <source src="E:/Videos/test.ogg" type="video/ogg" />
        <source src="E:/Videos/test.webm" type="video/webm" />
        <object data="E:/Videos/test.mp4" width="320" height="240">
            <embed src="E:/Videos/test.swf" width="320" height="240" />
        </object>
    </video>
    <hr />
    <p>优酷解决方案</p>
    <embed src="http://player.youku.com/player.php/sid/XMzI2NTc4NTMy/v.swf" width="480" height="400" type="application/x-shockwave-flash">
    </embed>
    <hr />
    <p>超链接播放视屏。chrome不支持swf格式播放，自动下载文件。</p>
    <a href="E:/Videos/test.swf">Play a video file</a>
</body>

</html>